<?php /*a:4:{s:64:"D:\work\web\write_play_1\application\index\view\index\index.html";i:1558678204;s:66:"D:\work\web\write_play_1\application\index\view\layout\common.html";i:1556087652;s:66:"D:\work\web\write_play_1\application\index\view\layout\header.html";i:1558678155;s:66:"D:\work\web\write_play_1\application\index\view\layout\footer.html";i:1558678002;}*/ ?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
    <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>高高的商城</title>
  <script type="text/javascript" src="/static/layui-v2.4.5/layui//layui.js"></script>
	<link rel="stylesheet" type="text/css" href="/static/layui-v2.4.5/layui//css/layui.css" />
  <link rel="stylesheet" type="text/css" href="/static/css/style.css" />
	<script type="text/javascript" src="/static/js/jquery-3.3.1.min.js"></script>
  <style type="text/css">
    .left{
      border:1px solid;
      display:inline;
      width:30%;
      height: 300px;
    }
    .rigth{
      display:inline;
      height: 300px;
      width: 70%;
    }
</style>
</head>
<?php use app\admin\model\User as UserModel; ?>


<body >
<div style="background-color: #dddddd;height: 30px;">
<div style="margin:0px 100px;line-height: 30px;">
	<div style="float: left;">高高的商城</div>
	<div style="float: right;">
<?php if((!empty($userinfo))): ?>
Hi:<a  href="user/<?php echo htmlentities($userinfo->id); ?>"><?php echo htmlentities($userinfo->mobile); ?></a>
<?php else: ?><a href="login">登录</a>
<?php endif; if((!empty($userinfo))): ?>
<a href="/logout">退出</a>
<?php else: ?>
<a href="/register">注册</a>
<?php endif; ?>
</div>
   
  </div>
</div>


     <div class="layui-row">
    <div class="layui-col-md3">
      <ul class="layui-nav layui-nav-tree" lay-filter="test">
<!-- 侧边导航: <ul class="layui-nav layui-nav-tree layui-nav-side"> -->
  <li class="layui-nav-item layui-nav-itemed">
    <a href="javascript:;">默认展开</a>
    <dl class="layui-nav-child">
      <dd><a href="javascript:;">选项1</a></dd>
      <dd><a href="javascript:;">选项2</a></dd>
      <dd><a href="">跳转</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item">
    <a href="javascript:;">解决方案</a>
    <dl class="layui-nav-child">
      <dd><a href="">移动模块</a></dd>
      <dd><a href="">后台模版</a></dd>
      <dd><a href="">电商平台</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item"><a href="">产品</a></li>
  <li class="layui-nav-item"><a href="">大数据</a></li>
</ul>
    </div>
    
 


 
 

 
<div class="layui-col-md9">

	<?php foreach($good as $v): ?>
	<div style="float:left;margin:10px;color:gray;border: 1px solid #c2c2c2;padding: 5px;height:130px;width:130px;text-align: center;cursor: pointer;">
		<img src="/upload/<?php echo htmlentities($v['logo']); ?>" style="width: 100px;height: 100px;" />
	<div style="overflow: hidden;height: 15px;" title=<?php echo htmlentities($v['title']); ?>><?php echo htmlentities($v['title']); ?></div>
	<a href="/shop_car">加入购物车</a>
	<a href="/buy">立即购买</a>
	</div>
	<?php endforeach; ?> 
</div>
</div>

</body>
